//
//  LCTimeLineCommonCell.m
//  YinYueTai
//
//  Created by CongCong on 15-7-22.
//  Copyright (c) 2015年 CongCong. All rights reserved.
//

#import "LCTimeLineCommonCell.h"

@implementation LCTimeLineCommonCell

- (void)awakeFromNib {
    // Initialization code
}
- (void)showWith:(LCTLDetailCommentListModel *)model
{
    [self.iconImage sd_setImageWithURL:[NSURL URLWithString:model.userinfo.icon] placeholderImage:[UIImage imageNamed:@"avatar-placeholder"]];
    self.title.text = model.userinfo.uname;
    self.time.text = model.addtime_f;
    
    CGSize size = [model.content sizeWithFont:[UIFont systemFontOfSize:17]];
    self.content.frame = CGRectMake(10, 40, kScreenSize.width-20, size.width*size.height/(kScreenSize.width-20)+10);
    self.content.text = model.content;
    self.content.textAlignment = YES;
    
}
@end
